/**
 * represent doctors orders made by a doctor at a patient's visit
 *
 */
package source;

import java.util.Map;
import activejdbc.Model;

public class DoctorsOrders extends Model {
	
	private String prescription;
	private String lab_work;
	private String followUp;
	private String misc;
	private int treatmentRecord_id;
	
	public DoctorsOrders(Map<String, String> values) {
		this.fromMap(values);
	}
	
	/**
	 * for printing each field of doctor's orders
	 * @return	description of doctors orders
	 */
	public String toString() {
		String output = "";
		output += " Prescription: " + prescription + ", Lab Work: " + this.get("lab_work")
				+ "Follow Up Instructions: " + this.get("follow_up") + "Other Instructions"
				+ this.get("misc");
		return output;
	}
}
